import request from '@/utils/request'
import type { ShopResult } from './types'

/** 订单接口 */
class APIOrder {
    /** 获取订单列表 */
    static getOrderGoods(params: PageQuery) {
        return request<any, ResponseData>({
            url: '/getOrderGoods',
            method: 'POST',
            params
        })
    }

    static setAuthCertificate(data: any) {
        return request<any, ResponseData>({
            url: '/setAuthCertificate',
            method: 'POST',
            data
        })
    }
    static getOrderInfo(data: any) {
        return request<any, ResponseData>({
            url: '/getOrderInfo',
            method: 'POST',
            data
        })
    }


}

export default APIOrder
